package xc.com.course.service;

import xc.com.common.Result;
import xc.com.course.domain.CourseMarket;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuolizhong
 * @since 2021-06-03
 */
public interface CourseMarketService extends IService<CourseMarket> {
    /**
     * 添加课程营销信息
     * @param courseMarket
     * @return
     */
     Result addCourseMarket(CourseMarket courseMarket);

    /**
     * 根据课程id查询课程营销信息
     * @param courseId
     * @return
     */
     CourseMarket selectByCourseId(String courseId);
    /**
     * 修改课程营销信息
     * @param courseMarket
     * @return
     */
    Result updateCourseMarket(CourseMarket courseMarket);
}
